package com.jxdinfo.hussar.example.common.schedulingtask.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxdinfo.hussar.example.common.schedulingtask.model.SysOrganMes;
import com.jxdinfo.hussar.example.common.schedulingtask.model.SysStruMes;
import com.jxdinfo.hussar.support.datasource.annotations.HussarDs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 架构表表 Mapper 接口
 * </p>
 *
 * @author 乔镔
 * @since 2024-04-15
 */
@Mapper
@Repository("com.jxdinfo.hussar.example.common.schedulingtask.dao.SysStruMapper")
public interface SysStruMesMapper extends BaseMapper<SysStruMes> {

    @HussarDs("U9C")
    List<SysStruMes> selectAllSysStru();

    SysStruMes selectSysStru(SysStruMes sysStruMes);

    int insertSysStru(SysStruMes sysStruMes);

    int updateSysStru(SysStruMes sysStruMes);

    int insertSysOffice(SysStruMes sysStruMes);

    int insertSysOrgan(SysStruMes sysStruMes);

}
